import styled from "styled-components";

export const PatientWrapper = styled.div/*css*/ `
  margin: 15px;
  label {
    font-weight: 500;
  }

  button {
    border-radius: 3px;
    width: 80px;
    height: 28px;
  }
  .searchForm {
    display: flex;
    .searchItems {
      margin: 5px;
    }
  }
  .disSearchForm {
    display: none;
  }
  //!搜索动画
  @keyframes enlargeIcon {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.5);
    }
    100% {
      transform: scale(1);
    }
  }
  .search-icon-enlarge {
    animation: enlargeIcon 0.5s ease-in-out;
  }
  .reset-icon-rotate {
    transform: rotate(180deg);
    transition: transform 0.3s;
  }

  .arco-input-group {
    border: 1px solid black;
    background-color: black;
    color: black;
  }

  .custom-select.ant-select-open .ant-select-arrow {
    transform: rotate(180deg);
  }
  .ant-select-arrow {
    transition: transform 0.3s;
  }
  .patientTable {
    margin: 10px 10px 0 10px;
  }

  // 表头单元格自定义样式
  .arco-table-th-item {
    text-align: center;
  }
  .arco-table-selection-col {
    width: 55px;
  }
  col {
    width: 160px;
  }
  .arco-table-tr {
    height: 110px;
  }
  .arco-table-cell {
    text-align: center;
  }
  .patientCenterBtn {
    display: flex;
    justify-content: space-between;
  }
  .btnItems,
  .iconItems {
    display: flex;
  }
  .btnItem {
    align-items: center;
    justify-content: center;
    margin: 10px 5px 5px 5px;
  }
`;

export const ModificationWrapper = styled.div/*css*/ `
  .formBox {
    margin-bottom: 16px;

    &:last-child {
      margin-bottom: 0;
    }
  }
  .modal-header {
    display: flex;
    .arco-tag-checked.arco-tag-blue {
      align-items: center;
    }
  }
  .section-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 16px;
    font-weight: 500;
  }

  .form-item {
    margin-bottom: 16px;

    .ant-form-item-label {
      font-weight: 500;
    }

    .ant-input,
    .ant-select-selector,
    .ant-picker {
      border-radius: 4px;
      height: 36px;
    }

    .ant-input-textarea {
      border-radius: 4px;
    }
  }

  .ant-form-item-explain {
    font-size: 12px;
  }
`;
